package lab2.text09;

/**
 * Created by Administrator on 2017/10/23.
 */
public class Student {

    //属性：“学号”、“班号”、“姓名”、“性别”、“年龄”
    long studentno;
    int classno;
    String name;
    char sex;
    int age;
    public long getstudentno(){
        return studentno;
    }
    public int getclassno(){
        return classno;
    }
    public String getname(){
        return name;
    }
    public char getsex(){
        return  sex;
    }
    public int getage(){
        return age;
    }
    public String toString( ){
       return studentno+""+classno+""+name+""+sex+""+age;
    }
}
